package actiontiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// ActionAddScoreLog 系统接口表
type ActionAddScoreLog struct {
	Id            int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"api的id"`
	Score         int64          `json:"score" gorm:"column:score;type:bigint;default:0;not null;comment:补的积分"`                    // 补的积分
	CreatedUserId int64          `json:"createdUserId" gorm:"column:created_user_id;type:bigint;default:0;not null;comment:创建人id"` // 创建人id
	SecOpenid     string         `json:"secOpenid" gorm:"column:sec_openid;type:varchar(256);not null;default:'';comment: 玩家id"`
	Nickname      string         `json:"nickname" gorm:"column:nickname;type:varchar(256);not null;default:'';comment:备注"`  //
	Reviewer      string         `json:"reviewer" gorm:"column:reviewer;type:varchar(256);not null;default:'';comment:审核人"` // 审核人
	Remark        string         `json:"remark" gorm:"column:remark;type:varchar(256);not null;default:'';comment:备注"`      //
	CreatedAt     time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt     time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt     gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
